package com.weijianhuawen.wjblog.web.mode.vo.article;

import com.weijianhuawen.wjblog.web.mode.vo.tag.FindTagListRspVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-10-31 18:16
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindArticleDetailRspVo {
    private Long id;

    private String title;

    private String cover;

    private String summary;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
    // 总词数
    private Integer totalWords;
    // 估计阅读时间
    private String readTime;

    private Long readNum;

    private String content;

    private List<FindTagListRspVo> tags;

    private Long categoryId;
    private String categoryName;

    // 上一篇文章
    private FindPreNextArticleRspVo preArticle;
    // 下一篇文章
    private FindPreNextArticleRspVo nextArticle;
}
